<div class="admin-card-title">
    <div class="title">{{$title}}</div>
    <button onclick="{{$addIndex()}}">{{$index}}</button>
    <select class="select btn btn-white waves-effect" onchange="{{$setSelectedItem(0)}}">
        @foreach($options as $key => $value)
            <option value="{{$key}}">{{$value}}</option>
        @endforeach
    </select>
</div>

<link rel="stylesheet" href="{{admin_asset('css/dropdown.css')}}">

{{--Laravel是一个单向通信，需要使用jQuery来获取元素节点，然后手动修改值--}}
